package com.hry.store.cms.dao;

import com.hry.store.cms.pojo.SecondCategory;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface SecondCategoryMapper {
    int deleteByPrimaryKey(Integer secondCategoryId);

    int insert(SecondCategory record);

    int insertSelective(SecondCategory record);

    SecondCategory selectByPrimaryKey(Integer secondCategoryId);

    int updateByPrimaryKeySelective(SecondCategory record);

    int updateByPrimaryKey(SecondCategory record);

    List<SecondCategory> selectByTopCategoryId(Integer topCategoryId);

    List<SecondCategory> getAll();
}